<!--

  ##########                    ##########
  ##########                    ##########
  ##########                    ##########
  ##########                    ##########
  ##########                    ##########
  ##########                    ##########
  ##########                    ##########
  ##########                    ##########
  ##########                    ##########
  ##########                    ##########
  ##########                    ##########
  ##########                    ##########
  ##########                    ##########
  ##########                    ##########
  ##########                    ##########
  ########################################
  ########################################
  ##########
  ##########
  ##########
  ##########
  ##########
  ##########
  ##########

  Nordic Microalgae Mobile. http://m.nordicmicroalgae.org

  Author: Andreas Loo, info@andreasloo.se
  Copyright (c) 2013 SMHI, Swedish Meteorological and Hydrological Institute
  License: MIT License as follows:

  Permission is hereby granted, free of charge, to any person obtaining a copy
  of this software and associated documentation files (the "Software"), to deal
  in the Software without restriction, including without limitation the rights
  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  copies of the Software, and to permit persons to whom the Software is
  furnished to do so, subject to the following conditions:

  The above copyright notice and this permission notice shall be included in
  all copies or substantial portions of the Software.

  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  THE SOFTWARE.

-->
<!DOCTYPE html>
<html lang="en" ng-app="nma">
<head>
  <meta charset="utf-8" />
  <title>Nordic Microalgae</title>

  <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no" />

  <!-- Configuration for standalone mode -->
  <meta name="apple-mobile-web-app-capable" content="yes" />
  <meta name="apple-mobile-web-app-status-bar-style" content="black" />
  <meta name="apple-mobile-web-app-title" content="NµA" />

  <!-- Icons for Android and iOS -->
  <link rel="apple-touch-icon-precomposed" href="img/touch-icon-57x57.png" />
  <link rel="apple-touch-icon-precomposed" href="img/touch-icon-72x72.png" sizes="72x72" />
  <link rel="apple-touch-icon-precomposed" href="img/touch-icon-114x114.png" sizes="114x114" />
  <link rel="apple-touch-icon-precomposed" href="img/touch-icon-144x144.png" sizes="144x144" />

  <!-- Startup images for iOS -->
  <link rel="apple-touch-startup-image" href="img/touch-startup-image-320x460.png" media="(device-width: 320px) and (device-height: 480px)" />
  <link rel="apple-touch-startup-image" href="img/touch-startup-image-640x920.png" media="(device-width: 320px) and (device-height: 480px) and (-webkit-min-device-pixel-ratio: 2)" />
  <link rel="apple-touch-startup-image" href="img/touch-startup-image-640x1096.png" media="(device-width: 320px) and (device-height: 568px) and (-webkit-min-device-pixel-ratio: 2)" />
  <link rel="apple-touch-startup-image" href="img/touch-startup-image-768x1004.png" media="(device-width: 768px) and (device-height: 1024px) and (orientation: portrait)" />
  <link rel="apple-touch-startup-image" href="img/touch-startup-image-1024x748.png" media="(device-width: 768px) and (device-height: 1024px) and (orientation: landscape)" />
  <link rel="apple-touch-startup-image" href="img/touch-startup-image-1536x2008.png" media="(device-width: 768px) and (device-height: 1024px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2)" />
  <link rel="apple-touch-startup-image" href="img/touch-startup-image-2048x1496.png" media="(device-width: 768px) and (device-height: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2)" />

  <!-- styles -->
  <link rel="stylesheet" href="lib/bootstrap/css/bootstrap.css" />
  <link rel="stylesheet" href="lib/bootstrap/css/bootstrap-responsive.css" />
  <link rel="stylesheet" href="css/app.css" />
  <!-- /styles -->

  <script>
    (function(matchMedia) {
      // Fix for iPhone 5 "letterboxing" the standalone app
      // Set viewport width to something else than device-width
      if (matchMedia && matchMedia('(device-width: 320px) and (device-height: 568px)').matches) {
        var viewport = document.querySelector('meta[name=viewport]');
        viewport.content = viewport.content.replace(/device-width/, '320.1');
      }
    })(window.matchMedia);
  </script>

  <script>
    var _gaq = _gaq || [];
    _gaq.push(['_setAccount', 'UA-24279726-2']);
    _gaq.push(['_trackPageview']);

    (function() {
      var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
      ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
      var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    })();
  </script>
</head>
<body>

  <div class="navbar navbar-inverse navbar-fixed-top" ng-controller="NavigationCtrl">
    <div class="navbar-inner">
      <div class="container-fluid">
        <a class="brand" href="#/">&micro;</a>
        <ul class="nav">
          <li ng-class="{active:isActive('/')}"><a href="#/">Home</a></li>
          <li ng-class="{active:isActive('/galleries')}"><a href="#/galleries">Galleries</a></li>
          <li ng-class="{active:isActive('/about')}"><a href="#/about">About</a></li>
        </ul>
      </div>
    </div>
  </div>

  <div class="container-fluid" ng-cloak>
    <ng-view></ng-view>
  </div>

  <!-- scripts -->
  <script src="lib/jquery.js"></script>
  <script src="lib/bootstrap/js/bootstrap.js"></script>
  <script src="lib/angular/angular.js"></script>
  <script src="lib/angular/angular-resource.js"></script>
  <script src="lib/angular/angular-sanitize.js"></script>
  <script src="js/app.js"></script>
  <script src="js/controllers/NavigationCtrl.js"></script>
  <script src="js/controllers/BrowseCtrl.js"></script>
  <script src="js/controllers/TaxonSearchCtrl.js"></script>
  <script src="js/controllers/TaxonListCtrl.js"></script>
  <script src="js/controllers/TaxonFilterCtrl.js"></script>
  <script src="js/controllers/TaxonDetailCtrl.js"></script>
  <script src="js/controllers/BrowseMediaCtrl.js"></script>
  <script src="js/controllers/MediaListCtrl.js"></script>
  <script src="js/controllers/ArtistListCtrl.js"></script>
  <script src="js/services/Media.js"></script>
  <script src="js/services/Taxon.js"></script>
  <script src="js/services/facts.js"></script>
  <script src="js/services/metadata.js"></script>
  <script src="js/services/biovolumes.js"></script>
  <script src="js/services/setting.js"></script>
  <script src="js/services/filter.js"></script>
  <script src="js/services/group.js"></script>
  <script src="js/services/query.js"></script>
  <script src="js/services/storage.js"></script>
  <script src="js/services/utils.js"></script>
  <script src="js/directives/nmaHierarchy.js"></script>
  <script src="js/directives/nmaBiovolumes.js"></script>
  <script src="js/directives/nmaTaxonList.js"></script>
  <script src="js/directives/nmaDescription.js"></script>
  <script src="js/directives/nmaMedia.js"></script>
  <script src="js/directives/nmaNav.js"></script>
  <script src="js/directives/nmaStandalone.js"></script>
  <!-- /scripts -->
</body>
</html>